package com.smartstate.dataManagement.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode
public class DehumidifierVO {

    @ApiModelProperty(value = "除湿机房")
    private String dehumidifierRoom;

    List<DehumidifierParameter> dehumidifierParameterList;

    @Data
    public static class DehumidifierParameter {
        @ApiModelProperty(value = "除湿机编号")
        private String deviceId;

        @ApiModelProperty(value = "服务区域")
        private String serviceArea;

        @ApiModelProperty(value = "设备名称")
        private String deviceName;

        @ApiModelProperty(value = "回风露点")
        public float returnAirDewPoint;

        @ApiModelProperty(value = "回风温度")
        public float returnAirTemperature;

        @ApiModelProperty(value = "送风露点")
        public float supplyAirDewPoint;

        @ApiModelProperty(value = "送风温度")
        public float supplyAirTemperature;

        @ApiModelProperty(value = "车间露点")
        public float roomDewPoint;

        @ApiModelProperty(value = "车间温度")
        public float roomTemperature;

        @ApiModelProperty(value = "MAC再生温度设定值")
        public float macregenerationTemperatureSet;

        @ApiModelProperty(value = "MAC再生温度当前值")
        public float macregenerationTemperatureNow;

        @ApiModelProperty(value = "LDP再生温度")
        public float ldpregenerationTemperatureNow;

        @ApiModelProperty(value = "表冷温度：前冷")
        public float beforeCold;

        @ApiModelProperty(value = "表冷温度：中冷")
        public float interCold;

        @ApiModelProperty(value = "设备状态")
        public String type;
    }

    //设备的附加属性
    @Data
    public static class AdditionalAttributes {
        @ApiModelProperty(value = "服务区域")
        public String serviceArea;

        @ApiModelProperty(value = "除湿机房")
        public String roomLocation;
    }
}
